package com.cango.framework.base.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * ClassName: BaseEntity
 * </p>
 * <p>
 * Description: entity基类
 * </p>
 * <p>
 * Author: weih
 * </p>
 * <p>
 * Date: 2014-6-16
 * </p>
 */
public class BaseEntity implements Serializable {

    /**
     * <p>
     * Field serialVersionUID: serialVersionUID
     * </p>
     */
    private static final long serialVersionUID = 1L;

    /**
     * <p>
     * Field createUser: createUser
     * </p>
     */
    private Long createUser;

    /**
     * 创建人名称
     */
    private String createUserName;

    /**
     * <p>
     * Field updateUser: updateUser
     * </p>
     */
    private Long updateUser;

    /**
     * 修改人名称
     */
    private String updateUserName;

    /**
     * <p>
     * Field createTime: createTime
     * </p>
     */
    private Date createTime;

    /**
     * <p>
     * Field updateTime: updateTime
     * </p>
     */
    private Date updateTime;

    /**
     * <p>
     * Field deleteMark: 删除标记：0未删除，1已删除
     * </p>
     */
    private Integer deleteMark;

    /**
     * <p>
     * Field pidMark: 归档标记：0未归档，1已归档
     * </p>
     */
    private Integer pidMark;


    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    // @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    // @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Integer getPidMark() {
        return this.pidMark;
    }

    public void setPidMark(Integer pidMark) {
        this.pidMark = pidMark;
    }

    public Integer getDeleteMark() {
        return this.deleteMark;
    }

    public void setDeleteMark(Integer deleteMark) {
        this.deleteMark = deleteMark;
    }
}
